/*
* Copyright © 2018 Union Mobile Financial Technology Co.Ltd
* All Rights Reserved
* @Description: TODO(功能描述)
* @author lile 
* @date 2018年1月29日 下午1:59:07
*
*/ 
package com.umpay.dto.memberMgr.req;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotEmpty;

import com.umpay.annotation.Pattern;
import com.umpay.dto.memberMgr.CommonParameters;

/**
***********************************************************
* @ClassName: MemberRegisterReq
* @Description: TODO(功能描述)
* @author lile
* @date 2018年1月29日 下午1:59:07
* @version 1.0 
*
* Modification History:
* Date         Author          Version            Description
*---------------------------------------------------------*
* 2018年1月29日     lile           v1.0.0               修改原因
************************************************************
*/
public class MemberRegisterReq extends CommonParameters {
	
	/**
	* @Fields tarce : 注册流水
	*/
	@NotEmpty
	@Pattern
	private String trace;

	/**
	* @Fields bProductId : 业务产品号
	*/
	@NotEmpty
	@Pattern
	private String bProductId;
	
	@NotEmpty
	@Pattern
	private String instId;
	
	/**
	* @Fields merCustId : 商户用户号
	*/
	@NotEmpty
	@Pattern
	private String merCustId;
	
	/**
	* @Fields memberName : 用户名称
	*/
	@NotEmpty
	@Pattern
	private String memberName;
	
	/**
	* @Fields userType : 用户类型 1-个人 2-个体 3-企业
	*/
	@NotNull
	@Pattern
	private Short userType;
	
	/**
	* @Fields certId : 证件号码
	*/
	@NotEmpty
	@Pattern
	private String certId;
	
	/**
	* @Fields certType : 证件类型 1-身份证 2-营业执照号
	*/
	@NotNull
	@Pattern
	private Short certType;
	
	/**
	* @Fields mobileId : 用户手机号
	*/
	//@NotEmpty
	@Pattern
	private String mobileId;
	
	/**
	* @Fields licenseType : 是否三证合一 1-是 2-否
	*/
	private Short licenseType;
	
	/**
	* @Fields licenseNo : 营业执照号(全国统一信用代码)
	*/
	private String licenseNo;
	
	/**
	* @Fields organizationId : 组织机构代码证
	*/
	private String organizationId;
	
	/**
	* @Fields taxRegistrationNo : 税务登记证号
	*/
	private String taxRegistrationNo;
	
	/**
	* @Fields lawyerName : 法人姓名
	*/
	private String lawyerName;
	
	/**
	* @Fields lawyerIdCode : 法人证件号
	*/
	private String lawyerIdCode;
	
	/**
	* @Fields lawyerIdType : 法人证件类型
	*/
	private Short lawyerIdType;
	
	/**
	* @Fields conMobileId : 联系人手机号
	*/
	private String conMobileId;
	
	/**
	* @Fields conUserName : 联系人姓名
	*/
	private String conUserName;
	
	private String modUser;
	private String instUser;
	
	/**
	* @Fields state : 状态
	*/
	private Short state;
	/**
	* @Fields regState : 注册状态 0-待审批  1-审批通过  2-审批不通过  
	*/
	private Short regState;
	
	/**
	* @Fields acctType : 账户类型 208:对公现金账户   209:对私现金账户

	*/
	@NotEmpty
	@Pattern
	private String acctType;
	
	
	public String getAcctType() {
		return acctType;
	}

	public void setAcctType(String acctType) {
		this.acctType = acctType;
	}

	public String getTrace() {
		return trace;
	}

	public void setTrace(String trace) {
		this.trace = trace;
	}

	public Short getState() {
		return state;
	}

	public void setState(Short state) {
		this.state = state;
	}

	public Short getRegState() {
		return regState;
	}

	public void setRegState(Short regState) {
		this.regState = regState;
	}

	public String getModUser() {
		return modUser;
	}

	public void setModUser(String modUser) {
		this.modUser = modUser;
	}

	public String getInstUser() {
		return instUser;
	}

	public void setInstUser(String instUser) {
		this.instUser = instUser;
	}

	public String getbProductId() {
		return bProductId;
	}

	public void setbProductId(String bProductId) {
		this.bProductId = bProductId;
	}

	public String getMerCustId() {
		return merCustId;
	}

	public void setMerCustId(String merCustId) {
		this.merCustId = merCustId;
	}

	public String getMemberName() {
		return memberName;
	}

	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}

	public Short getUserType() {
		return userType;
	}

	public void setUserType(Short userType) {
		this.userType = userType;
	}

	public String getCertId() {
		return certId;
	}

	public void setCertId(String certId) {
		this.certId = certId;
	}

	public Short getCertType() {
		return certType;
	}

	public void setCertType(Short certType) {
		this.certType = certType;
	}

	public String getMobileId() {
		return mobileId;
	}

	public void setMobileId(String mobileId) {
		this.mobileId = mobileId;
	}

	public Short getLicenseType() {
		return licenseType;
	}

	public void setLicenseType(Short licenseType) {
		this.licenseType = licenseType;
	}

	public String getLicenseNo() {
		return licenseNo;
	}

	public void setLicenseNo(String licenseNo) {
		this.licenseNo = licenseNo;
	}

	public String getOrganizationId() {
		return organizationId;
	}

	public void setOrganizationId(String organizationId) {
		this.organizationId = organizationId;
	}

	public String getTaxRegistrationNo() {
		return taxRegistrationNo;
	}

	public void setTaxRegistrationNo(String taxRegistrationNo) {
		this.taxRegistrationNo = taxRegistrationNo;
	}

	public String getLawyerName() {
		return lawyerName;
	}

	public void setLawyerName(String lawyerName) {
		this.lawyerName = lawyerName;
	}

	public String getLawyerIdCode() {
		return lawyerIdCode;
	}

	public void setLawyerIdCode(String lawyerIdCode) {
		this.lawyerIdCode = lawyerIdCode;
	}

	public Short getLawyerIdType() {
		return lawyerIdType;
	}

	public void setLawyerIdType(Short lawyerIdType) {
		this.lawyerIdType = lawyerIdType;
	}

	public String getConMobileId() {
		return conMobileId;
	}

	public void setConMobileId(String conMobileId) {
		this.conMobileId = conMobileId;
	}

	public String getConUserName() {
		return conUserName;
	}

	public void setConUserName(String conUserName) {
		this.conUserName = conUserName;
	}
	
	
	
	public String getInstId() {
		return instId;
	}

	public void setInstId(String instId) {
		this.instId = instId;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append(super.toString().replaceAll("]", ","));
		builder.append("trace=");
		builder.append(trace);
		builder.append(", bProductId=");
		builder.append(bProductId);
		builder.append(", instId=");
		builder.append(instId);
		builder.append(", merCustId=");
		builder.append(merCustId);
		builder.append(", memberName=");
		builder.append(memberName);
		builder.append(", userType=");
		builder.append(userType);
		builder.append(", certId=");
		builder.append(certId);
		builder.append(", certType=");
		builder.append(certType);
		builder.append(", mobileId=");
		builder.append(mobileId);
		builder.append(", licenseType=");
		builder.append(licenseType);
		builder.append(", licenseNo=");
		builder.append(licenseNo);
		builder.append(", organizationId=");
		builder.append(organizationId);
		builder.append(", taxRegistrationNo=");
		builder.append(taxRegistrationNo);
		builder.append(", lawyerName=");
		builder.append(lawyerName);
		builder.append(", lawyerIdCode=");
		builder.append(lawyerIdCode);
		builder.append(", lawyerIdType=");
		builder.append(lawyerIdType);
		builder.append(", conMobileId=");
		builder.append(conMobileId);
		builder.append(", conUserName=");
		builder.append(conUserName);
		builder.append(", modUser=");
		builder.append(modUser);
		builder.append(", instUser=");
		builder.append(instUser);
		builder.append(", state=");
		builder.append(state);
		builder.append(", regState=");
		builder.append(regState);
		builder.append(", acctType=");
		builder.append(acctType);
		builder.append("]");
		return builder.toString();
	}

	
//	@Override
//	public String toString() {
//		return super.toString().replaceAll("]", ",")+"trace=" + trace +", bProductId=" + bProductId+", instId=" + instId 
//				+ ", merCustId=" + merCustId + ", memberName=" + memberName
//				+ ", userType=" + userType + ", certId=" + certId + ", certType=" + certType + ", mobileId=" + mobileId
//				+ ", licenseType=" + licenseType + ", licenseNo=" + licenseNo + ", organizationId=" + organizationId
//				+ ", taxRegistrationNo=" + taxRegistrationNo + ", lawyerName=" + lawyerName + ", lawyerIdCode="
//				+ lawyerIdCode + ", lawyerIdType=" + lawyerIdType + ", conMobileId=" + conMobileId + ", conUserName="
//				+ conUserName + ", modUser=" + modUser + ", instUser=" + instUser + ", state=" + state + ", regState="
//				+ regState + "]";
//	}

	
	
	
	
	
	
	
}
